package com.yunlong.dto;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;
import org.springframework.format.annotation.DateTimeFormat;

import java.util.Date;

/**
 * @author guorui
 * @date 2021-07-16 12:20
 */
@Data
public class UserInfoDto {
    private String userId;
    private String userName;
    private String userGender;
    private int userAge;
    private String userAcademy;
    private String userMajor;
    private String userClass;
    private String userCity;
    private String userPhone;
    private String userEmail;
    /**
     *  入学年份,不能修改
     */
    //格式 + 时区
    @JsonFormat(pattern="yyyy-MM-dd HH:mm:ss",timezone="GMT+8")
    private String startYear;
    /**
     * 所在方向
     */
    private String userDirection;

}
